package com.lushuan.service;

import com.lushuan.entity.UserInfo;
import com.lushuan.mapper.UserMapper;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

@Service
public class UserServiceImpl implements IUserService{

    @Autowired
    private UserMapper userMapper;

    @Override
    public UserInfo queryUserById(Integer id) {
        return userMapper.selectByPrimaryKey(id);
    }
}
